package com.nus.beans;

import java.util.Date;

/**
 * Created by IntelliJ IDEA.
 * User: dell
 * Date: 9/22/12
 * Time: 1:21 PM
 * To change this template use File | Settings | File Templates.
 */
public class Leave {
    private int appliedBy;
    private Date date;
    private LeaveStatus status;
    private Date appliedDate;
    private Date verifiedDate;
    private int verifiedBy;
    private Date approvedDate;
    private int approvedBy;
    private Date rejectedDate;
    private int rejectedBy;
    private String verifiedByName;
    private String approvedByName;
    private String rejectedByName;
    private String appliedByName;


    public Leave() {
    }

    public String getAppliedByName() {
        return appliedByName;
    }

    public void setAppliedByName(String appliedByName) {
        this.appliedByName = appliedByName;
    }

    public Date getRejectedDate() {
        return rejectedDate;
    }

    public void setRejectedDate(Date rejectedDate) {
        this.rejectedDate = rejectedDate;
    }

    public int getRejectedBy() {
        return rejectedBy;
    }

    public void setRejectedBy(int rejectedBy) {
        this.rejectedBy = rejectedBy;
    }

    public String getRejectedByName() {
        return rejectedByName;
    }

    public void setRejectedByName(String rejectedByName) {
        this.rejectedByName = rejectedByName;
    }

    public Leave(int appliedBy, Date date) {
        this.appliedBy = appliedBy;
        this.date = date;
        status = LeaveStatus.APPLIED;
    }

    public String getVerifiedByName() {
        return verifiedByName;
    }

    public void setVerifiedByName(String verifiedByName) {
        this.verifiedByName = verifiedByName;
    }

    public String getApprovedByName() {
        return approvedByName;
    }

    public void setApprovedByName(String approvedByName) {
        this.approvedByName = approvedByName;
    }

    public Date getAppliedDate() {
        return appliedDate;
    }

    public void setAppliedDate(Date appliedDate) {
        this.appliedDate = appliedDate;
    }

    public Date getVerifiedDate() {
        return verifiedDate;
    }

    public void setVerifiedDate(Date verifiedDate) {
        this.verifiedDate = verifiedDate;
    }

    public int getVerifiedBy() {
        return verifiedBy;
    }

    public void setVerifiedBy(int verifiedBy) {
        this.verifiedBy = verifiedBy;
    }

    public Date getApprovedDate() {
        return approvedDate;
    }

    public void setApprovedDate(Date approvedDate) {
        this.approvedDate = approvedDate;
    }

    public int getApprovedBy() {
        return approvedBy;
    }

    public void setApprovedBy(int approvedBy) {
        this.approvedBy = approvedBy;
    }

    public int getAppliedBy() {
        return appliedBy;
    }

    public void setAppliedBy(int appliedBy) {
        this.appliedBy = appliedBy;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public LeaveStatus getStatus() {
        return status;
    }

    public void setStatus(LeaveStatus status) {
        this.status = status;
    }
}
